package com.zx.mes.test.hyl.model.prototype;

/**
 * 邮件实体类(原型测试)
 * @author hyl
 * @date 2018-3-28
 */
public class Mail implements Cloneable{

    private String receiver;
    private String subject;
    private String content;
    private String tail;

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTail() {
        return tail;
    }

    public void setTail(String tail) {
        this.tail = tail;
    }

    public Mail(){

    }

    public Mail(String receiver, String subject, String content, String tail) {
        this.receiver = receiver;
        this.subject = subject;
        this.content = content;
        this.tail = tail;
    }

    @Override
    public Mail clone() throws CloneNotSupportedException {
        Mail mail;
        mail= (Mail) super.clone();
        return mail;
    }
}
